﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.CompositeWeb.ObjectBuilder.BuildPlan.DynamicMethodPlan.Parameters;

namespace WCSFContrib.Extensions.CompositeWeb
{
    public class CreateSharedWebApplication : Microsoft.Practices.CompositeWeb.WebClientApplication
    {
        protected override void Start()
        {
            base.Start();
            // add the correct parameter resolver so that objectbuilder can handle create shared attributes
            ParameterResolverMap.AddResolver(typeof(CreateSharedAttribute), new CreateSharedParameterResolver());
        }
    }
}
